const Today = () =>
    import ('@/pages/Today')
const End = () =>
    import ('@/pages/End')
const Product = () =>
    import ('@/pages/Product')
const Beautiful = () =>
    import ('@/pages/Beautiful')
const Mother = () =>
    import ('@/pages/Mother')
const NoFound = () =>
    import ('@/pages/NoFound')
const Guoji = () =>
    import ('@/pages/Guoji')
const Appliances = () =>
    import ('@/pages/Appliances')
const Househome = () =>
    import ('@/pages/Househome')
const Life = () =>
    import ('@/pages/Life')
const Luxury = () =>
    import ('@/pages/Luxury')
const Xia = () =>
    import ('@/pages/Xia')
const Cart = () =>
    import ('@/components/Cart')
const Search = () =>
    import ('@/components/Search')

export default [{
        path: '/',
        redirect: '/today'
    }, {
        path: '*',
        redirect: '/404'
    }, {
        path: '/404',
        components: {
            default: NoFound
        }
    }, {
        path: '/today',
        title: '今日推荐',
        isJump: true,
        icon: "&#xe65b;",
        isTabbar: true,
        components: {
            default: Today,
            cart: Cart
        }
    }, {
        path: '/end',
        title: '最后疯抢',
        isJump: true,
        icon: "&#xe620;",
        isTabbar: true,
        components: {
            default: End,
            cart: Cart
        }
    }, {
        path: '/product/:id',
        name: 'product',
        components: {
            default: Product
        }
    }, {
        path: '/beautiful',
        title: '美妆',
        isJump: true,
        icon: "&#xe600;",
        isTabbar: true,
        components: {
            default: Beautiful,
            cart: Cart
        }
    }, {
        path: '/mother',
        title: '母婴',
        isJump: true,
        icon: "&#xe668;",
        isTabbar: true,
        components: {
            default: Mother,
            cart: Cart
        }
    }, {
        path: '/guoji',
        title: '国际',
        isJump: true,
        icon: "&#xe604;",
        isTabbar: true,
        components: {
            default: Guoji,
            cart: Cart
        }
    }, {
        path: '/appliances',
        title: '家电',
        isJump: true,
        icon: "&#xe643;",
        isTabbar: true,
        components: {
            default: Appliances,
            cart: Cart
        }
    }, {
        path: '/househome',
        title: '家居',
        isJump: true,
        icon: "&#xe605;",

        components: {
            default: Househome,
            cart: Cart
        }
    },
    {
        path: '/life',
        title: '生活',
        isJump: true,
        icon: "&#xe601;",

        components: {
            default: Life,
            cart: Cart
        }
    },
    {
        path: '/luxury',
        title: '唯品*奢',
        isJump: true,
        icon: "&#xe65a;",

        components: {
            default: Luxury,
            cart: Cart
        }
    },
    {
        path: '/xia',
        title: '向下',
        isAabbar: true,
        components: {
            default: Xia
        }
    }, {
        path: '/search',
        title: '搜索',
        components: {
            default: Search
        }
    }
]